<?php

require 'header.php';

?>
      <div class="middle">
		<div class="simple-container-left" id="page:main-container">
			<div class="container" id="page:container">
				<div class="main">
					<div class="content-container">
						<div class="content" id="content">
							<div class="content-header">
								<table class="grid-header" cellspacing="0" border="0" >
									<tbody>
										<tr>
											<td width="60%"><h3 class="icon-head head-customer">Manage Loan</h3></td>
                                            <td ><h3 class="icon-head head-user">ID : 20080001 &nbsp; Name : Jundie Chan</h3></td>
										</tr>
									</tbody>
								</table>
							</div>
							<form name="form1" id="form1" action="/" method="post">
							<div class="entry-edit">
                            <br />
							<h4 class="icon-head head-edit-form fieldset-legend"> Edit Loan</h4>
                            <table width="100%" border="0" cellspacing="0">
                            <tbody>
                                <tr>
                                    <td>
							            <table width="100%" cellspacing="10" border="0" style="background-color:#eeeeee" >
								        <tbody>
								        <tr>
         							        <td>
                            	                <table width="100%" cellspacing="0" border="0">
										        <tbody>
										            <tr>
										                <td width="50%">
                                                        <table width="100%" cellspacing="5" border="0">
                                                            <tr>
									                            <td width="50%">Loan ID<span class="required">*</span></td>
												                <td width="50%">1</td>
											                </tr>
											                <tr>
											    	            <td>Borrower ID <span class="required">*</span></td>
												                <td><input name="borrower_id" value="20080001" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
											                <tr>
											    	            <td>Co-Borrower ID <span class="required">*</span></td>
												                <td><input name="borrower_id" value="20080002" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
                                                            <tr>
											    	            <td>Inquiry Date<span class="required">*</span></td>
												                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
  											                </tr>
											                <tr>
											    	            <td>Application Date<span class="required">*</span></td>
												                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
											                <tr>
											    	            <td><select id="_loan_status_id" name="loan[status_id]" class="required-entry required-entry select" type="select">
													                        <option value="1">Pending</option>
                                                                            <option value="2">Approved</option>
													                        <option value="3">Denied</option>
													                </select>&nbsp;Date</td>
                                                                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
											                <tr>
											    	            <td>Paid In Full Date<span class="required">*</span></td>
												                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
                                                            <tr>
											    	            <td>Delinquent Date<span class="required">*</span></td>
												                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
  											                </tr>
											                <tr>
											    	            <td>Default Date<span class="required">*</span></td>
												                <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                </tr>
                                                        </table>
                                                        </td>
                                                        <td width="50%">
                                                            <table width="100%" cellspacing="5" border="0">
                                                                <tr>
											    	                <td>Collector ID<span class="required">*</span></td>
												                    <td><select id="_loan_chart_id" name="loan[chart_id]" class="required-entry required-entry select" type="select">
																	           <option value="1"> Nilo </option>
									                                           <option value="2"> Jun </option>
	                                                                           <option value="3"> Art </option>
																	     </select></td>
											                    </tr>
											                    <tr>
											    	                <td>Date PN Signed <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="02/25/2008" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
											                    <tr>
											    	                <td>Principal <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="9000" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
											                    <tr>
											    	                <td>Interest (%) <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="10" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
                                                                <tr>
									                                <td width="50%">Total Loan Amount<span class="required">*</span></td>
                                                                    <td><input name="borrower_id" value="10000" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
                                                                <tr>
											    	                <td>Surcharges <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="0" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
											                    <tr>
											    	                <td>Loan Payment (Days)<span class="required">*</span></td>
												                    <td><input name="borrower_id" value="60" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
                                                                <tr>
											    	                <td>Payment Terms<span class="required">*</span></td>
												                    <td><select id="_loan_chart_id" name="loan[chart_id]" class="required-entry required-entry select" type="select">
																	           <option value="1">Daily </option>
									                                           <option value="2">Weekly</option>
	                                                                           <option value="3">Bi-monthly</option>
                                                                               <option value="1">Monthly</option>
																	     </select></td>
											                    </tr>
											                    <tr>
											    	                <td>Monthly Approved <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="5000" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
											                    <tr>
											    	                <td>Loan Start Date <span class="required">*</span></td>
												                    <td><input name="borrower_id" value="02/28/2008" class="required-entry required-entry input-text" type="text"></td>
											                    </tr>
                                                            </table>
                                                        </td>
										            </tr>
									            </tbody>
        	                                    </table>
                                            </td>
	                                    </tr>
                                        <tr align="center">
                                            <td><button type="button" class="scalable back" onclick="setLocation('add_borrower_wizard.php')" style=""><span>Reset</span></button>
                                                <button type="button" class="scalable cancel" onclick="setLocation('loan.php')" style=""><span>Cancel</span></button>
                                                <button type="button" class="scalable save" onclick="setLocation('loan.php')" style=""><span>Save</span></button>
                                            </td>
                                        </tr>
								        </tbody>
        	                            </table>
                                    </td>
	                            </tr>
							</tbody>
							</table>
						    </div>
						    </form>
						</div>
					</div>
					<div class="section-menu" id="page:left">
						<h3>Loan Center</h3>
						<ul id="loan_info_tabs" class="tabs">
                            <li>
						        <a href="notes_view.php" title="View Loans" class="tab-item-link active">
					            <span><div class="changed" title="The information in this tab has been changed."></div><div class="error" title="This tab contains invalid data. Please solve the problem before saving.">
								</div>Loan Information</span>
						        </a>
						    </li>
						</ul>
						<div class="bottom"></div>
					</div>
              	</div>
			</div>
		</div>
	</div>

<?php

require 'footer.php';

?>